<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>  
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>teacherPage</h1>
<p>教师个人主页</p>

<!-- 修改密码页面 -->
<a href="passwordPage">修改密码</a>
<a href="teacherModifyPage">教师信息修改密页面</a>
<a href="feedbackPage">回访页面</a>

<!-- 教师个人信息展示模块 教师类-->
    <p>教师信息</p>
    <p>
                      帐号:${teacher.account}<br>  	
		名字:${teacher.name } <br>
		性别:${teacher.gender }<br>
		年龄：${teacher.age }<br>
		毕业院校：${teacher.university }<br>
		教学学科：${teacher.course }<br>
		教学年级：${teacher.grade}<br>
		课时费用：${teacher.fee }<br>
		授课地址：${teacher.address }<br>    
		授课时长：${teacher.experience}
	</p>
	

<!-- 教师评价信息展示模块  评价list-->

    <p>学生评价</p>
	<c:if test="${empty requestScope.reviewedList }">
		<p>暂无查询结果.</p>
	</c:if>
	
	<c:if test="${!empty requestScope.reviewedList }">
		<p>已查询到如下教师信息</p>
		<table border="1" cellpadding="10" cellspacing="0">
			<tr>
				<th>学生</th>
				<th>上课时间</th>
				<th>老师</th>
				<th>评价</th>
			</tr>
			<c:forEach items="${requestScope.reviewedList }" var="reviewed">
				<tr>
					<td>${reviewed.name }</td>
					<td>${reviewed.time }</td>
					<td>${reviewed.toName}</td>
					<td>${reviewed.review}</td>
				</tr>
			</c:forEach>
		</table>
	</c:if>

<!-- 课程表展示模块 课程表list-->







</body>
</html>